<template>
	<view class="examine">
		<image src="/static/image/doctor/examinel.png" mode="scaleToFill" style="width: 410rpx; height: 270rpx;"></image>
		<view class="titleTxt">
			<text class="txts">提交成功，耐心等待<text class="txt">健康诊所</text>的审核吧</text>
			<text class="line"></text>
			<text class="tel" @click="tel">诊所联系方式：15555533322</text>
		</view>
		<!-- 点击扫码 -->
		<view class="revokeExamine" @click="revoke">
			<text>撤销申请</text>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				detailId: 20
			};
		},
		methods: {
			jumpMaterial() {
				uni.navigateTo({
					url: "../material/material"
				})
			},
			tel() {
				uni.makePhoneCall({
					phoneNumber: "15555533322"
				})
			},
			async revoke() {
				let openids = this.$store.state.openid;
				let res = await this.$myrequest({
					url: `Doctor/delete`,
					method: "POST",
					data: {
						openid: openids
					}
				});
				if (res.data.code == 200) {
					uni.redirectTo({
						url: "../../new1/new1"
					})
				};
			}
		}
	}
</script>
<style lang="scss">
	page {
		width: 100%;
		height: 100%;
	}

	.examine {
		width: 100%;
		height: 100%;
		overflow: hidden;
		background-color: #FFFFFF;
	}


	image {
		margin-top: 315rpx;
		margin-left: 58%;
		transform: translateX(-50%);
	}

	.titleTxt {
		text {
			display: inline-block;
		}

		.txts {
			width: 100%;
			text-align: center;
			font-size: 24rpx;
			font-weight: bold;
			color: rgba(204, 204, 204, 1);
			margin-top: 70rpx;

			.txt {
				color: #2DD1BC;
			}
		}

		.line {
			margin-top: 30rpx;
			width: 447rpx;
			height: 3rpx;
			background-color: #DBDBDB;
			margin-left: 50%;
			transform: translateX(-50%);
		}

		.tel {
			margin-top: 15rpx;
			color: #2DD1BC;
			font-size: 24rpx;
			width: 100%;
			text-align: center;
		}
	}

	.revokeExamine {
		width: 212rpx;
		height: 70rpx;
		background: rgba(255, 119, 105, 1);
		border-radius: 35rpx;
		color: rgba(255, 255, 255, 1);
		font-size: 30rpx;
		@include shuipingchuijuzhong;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		margin-top: 153rpx;
		>text{
			letter-spacing: 1rpx;
		}
	}
</style>
